﻿<Window x:Class="WpfReferenceDemo.XamlMarkup"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="XamlMarkup" Height="395" Width="703" Loaded="Window_Loaded">
    <Grid>
        <Rectangle Height="55" HorizontalAlignment="Left" Margin="31,100,0,0" Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="127" />
        <TextBlock Height="46" HorizontalAlignment="Left" Margin="12,51,0,0" Name="textBlock1" Text="These controls are all laid out with XAML markup, which is what we'll NOT be doing.  Instead our XNA controls will be creating using a code-only approach, but mimicing the code-only API from XAML." VerticalAlignment="Top" TextWrapping="Wrap" Width="657" />
        <Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="50,226,0,0" Name="button1" VerticalAlignment="Top" Width="75" />
        <CheckBox Content="CheckBox" Height="16" HorizontalAlignment="Left" Margin="54,285,0,0" Name="checkBox1" VerticalAlignment="Top" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="144,255,0,0" Name="comboBox1" VerticalAlignment="Top" Width="120">
            <ComboBoxItem Content="ComboBox" IsSelected="True" />
        </ComboBox>
        <Image Height="100" HorizontalAlignment="Left" Margin="197,100,0,0" Name="dogImage" Stretch="Fill" VerticalAlignment="Top" Width="100" Source="/WpfReferenceDemo;component/Content/Dog.png" MouseEnter="dogImage_MouseEnter" MouseDown="dogImage_MouseDown" MouseLeave="dogImage_MouseLeave" MouseUp="dogImage_MouseUp" />
        <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="440,103,0,0" Name="label1" VerticalAlignment="Top" Background="#FFFCF2F2" />
        <TextBlock Height="61" HorizontalAlignment="Left" Margin="488,189,0,0" Name="textBlock2" Text="TextBlock.  The quick brown fox jumps over the lazy dog." VerticalAlignment="Top" Width="156" TextWrapping="Wrap" Background="#FFFCFAF5" />
        <Label Content="Rectangle" Height="28" HorizontalAlignment="Left" Margin="60,149,0,0" Name="label2" VerticalAlignment="Top" />
        <Label Content="Image (clickable)" Height="28" HorizontalAlignment="Left" Margin="197,194,0,0" Name="imageLabel" VerticalAlignment="Top" Width="100" HorizontalContentAlignment="Center" />
        <Label Content="Bottom-Left Text" Margin="0" Name="label" Height="Auto" VerticalAlignment="Bottom" Background="LightGray" HorizontalAlignment="Left" />
        <Menu Height="23" HorizontalAlignment="Left" Name="menu1" VerticalAlignment="Top" Width="57">
            <MenuItem Header="Session" Background="#FF0A0000" Foreground="White">
                <MenuItem Header="Restart" Background="Black" />
                <MenuItem Header="Quit" Background="Black" />
            </MenuItem>
        </Menu>

        <Menu Height="23" HorizontalAlignment="Left" Name="menu2" VerticalAlignment="Top" Width="39" Margin="60,0,0,0">
            <MenuItem Header="Edit" Background="#FF0A0000" Foreground="White">
                <MenuItem Header="Copy" Background="Black" />
                <MenuItem Header="Paste" Background="Black" />
            </MenuItem>
        </Menu>
        <RadioButton Content="Disabled RadioButton" Height="16" HorizontalAlignment="Left" Margin="317,285,0,0" Name="radioButton2" VerticalAlignment="Top" IsEnabled="False" />
        <RadioButton Content="Checked RadioButton " Height="16" HorizontalAlignment="Left" Margin="317,299,0,0" Name="radioButton1" VerticalAlignment="Top" IsChecked="True" />
        <RadioButton Content="RadioButton" Height="16" HorizontalAlignment="Left" Margin="317,271,0,0" Name="radioButton3" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="182,324,0,0" Name="textBox1" VerticalAlignment="Top" Width="120" />
        <Menu Height="23" HorizontalAlignment="Left" Margin="122,0,0,0" Name="menu3" VerticalAlignment="Top" Width="55">
            <MenuItem Header="Session">
                <MenuItem Header="Restart" />
                <MenuItem Header="Exit to Windows" />
            </MenuItem>
        </Menu>
    </Grid>
</Window>
